]> dgit.raspbian.org Git - gnome-shell.git/commit
js: Remove unused catch bindings
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 1 Apr 2025 14:16:07 +0000 (16:16 +0200)
committerMarge Bot <marge-bot@gnome.org>
Sun, 13 Apr 2025 12:01:40 +0000 (12:01 +0000)
commit07cf1060d3c2ab83af5ce2abf2803f28d5fae83f
tree58c895fcdf64d1b3ee5fa48b18a83382f88a1064
parentd03bf7c2c420e561d748a308aa6b69ba1a1f65ed
js: Remove unused catch bindings

Optional catch bindings have been supported for quite a while now,
so we can treat unused error bindings in catch statements like any
other unused variable.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3684>
35 files changed:
js/dbusServices/screencast/screencastService.js
js/gdm/loginDialog.js
js/misc/dbusUtils.js
js/misc/fileUtils.js
js/misc/ibusManager.js
js/misc/inputMethod.js
js/misc/jsParse.js
js/misc/loginManager.js
js/misc/modemManager.js
js/misc/systemActions.js
js/misc/util.js
js/ui/appDisplay.js
js/ui/audioDeviceSelection.js
js/ui/background.js
js/ui/components/automountManager.js
js/ui/components/networkAgent.js
js/ui/components/polkitAgent.js
js/ui/endSessionDialog.js
js/ui/environment.js
js/ui/extensionDownloader.js
js/ui/extensionSystem.js
js/ui/ibusCandidatePopup.js
js/ui/keyboard.js
js/ui/lookingGlass.js
js/ui/main.js
js/ui/remoteSearch.js
js/ui/screenshot.js
js/ui/search.js
js/ui/sessionMode.js
js/ui/status/backgroundApps.js
js/ui/status/keyboard.js
js/ui/status/network.js
js/ui/unlockDialog.js
subprojects/extensions-app/js/extensionManager.js
tests/unit/markup.js